/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.musictalk.message.model;

/**
 *
 * @author AIDEN
 */
public class NormalMessage extends Message{

    private User sender;
    private User receiver;
    private String msg;

    public NormalMessage() {
        this.setMsgType(Message.MSG_NORMAL);
    }

    public NormalMessage(User sender, User receiver, String msg) {
        this.setMsgType(Message.MSG_NORMAL);
        this.sender = sender;
        this.receiver = receiver;
        this.msg = msg;
    }

    public NormalMessage(User sender, User receiver) {
        this.setMsgType(Message.MSG_NORMAL);
        this.sender = sender;
        this.receiver = receiver;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public User getReceiver() {
        return receiver;
    }

    public void setReceiver(User receiver) {
        this.receiver = receiver;
    }

    public User getSender() {
        return sender;
    }

    public void setSender(User sender) {
        this.sender = sender;
    }

}